<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>js作业</title>
</head>

<body>

</body>
<script>
    var mz = prompt('请输入您的名字：');
    var tel = prompt('请输入您的电话：');
    var nj = prompt('请输入您的年龄:') - 0;
    var y = nj + 5
    var xb = prompt('请输入您的性别：');
    console.log("用户的姓名：" + mz);
    console.log("用户的电话：" + tel);
    console.log('据我估计，再过五年你就' + y + '岁了');
    console.log("用户的性别：" + xb);
</script>

</html>